ARM: vGIC: introduce gic_remove_irq_from_queues()
authorAndre Przywara <andre.przywara@arm.com>
Thu, 25 May 2017 18:07:29 +0000 (19:07 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 14 Jun 2017 18:38:37 +0000 (11:38 -0700)
commit1925036ea1c45de86ffe112e0825b5c54610a648
tree0173dbd7884de05f772fd38d8b8d6762a4a7d943
parent5f66da659060563df8481a86c017f07455095045
ARM: vGIC: introduce gic_remove_irq_from_queues()

To avoid code duplication in a later patch, introduce a generic function
to remove a virtual IRQ from the VGIC.
Call that function instead of the open-coded version in vgic_migrate_irq().

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic.c
xen/arch/arm/vgic.c
xen/include/asm-arm/gic.h